LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2008, 11:40 AM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
[rsync] get the differences between the source files and the existing files


I want to know the amount of data that rsync will transfer over before rsync actually does the transfer. (like a --pretend flag)
The reason is because if the transfer is going to be large I might wait and do it later, and if the transfer is only a few megabytes then I might do the rsync now instead of later.

thanks,

djgerbavore
 
Old 06-04-2008, 12:01 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
From the man page:
Code:
-n, --dry-run               show what would have been transferred
You'll probably need the -v option as well for verbose output to see the files and total size of the supposed transfer.
 
Old 06-04-2008, 12:05 PM   #3
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
haha thanks,

I swear I read the whole man page for rsync. Sorry for the noise.
thanks!

djgerbavore
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add existing files to existing imported kdevelop project?? santana Programming 1 05-22-2007 09:53 AM
gnu make recompiles the source files fully even though the files are not modified yasothamani Linux - Software 4 02-07-2007 06:36 AM
performance issue: rsync sends existing files microtim Linux - Networking 1 12-02-2004 02:27 AM
differences between files alaios Linux - General 2 11-15-2004 09:34 AM
Differences between files? kryptobs2000 Linux - Software 1 06-22-2004 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration